package com.mall.common.filter;

import javax.servlet.http.HttpServletRequest;

import net.sf.ehcache.constructs.web.filter.SimplePageCachingFilter;

public class OftenPageCachingFilter extends SimplePageCachingFilter {

	@Override
	protected String calculateKey(HttpServletRequest httpRequest) {
        return httpRequest.getRequestURI();
	}
	
	@Override
	protected String getCacheName() {
		return "OftenPageCachingFilter";
	}

}
